/*
 * Copyright (C) 2010 - 2018 Novatek,  Inc.
 * Copyright (C) 2021 XiaoMi, Inc.
 *
 * $Revision: 46242 $
 * $Date: 2019-06-17 10:29:24 +0800 (周一,  17 6月 2019) $
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License,  or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,  but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 */

#if NVT_TOUCH_MP

static uint32_t IC_X_CFG_SIZE = 16;
static uint32_t IC_Y_CFG_SIZE = 36;
static uint32_t IC_KEY_CFG_SIZE = 4;
static uint32_t X_Channel = 16;
static uint32_t Y_Channel = 36;
static uint32_t Key_Channel = TOUCH_KEY_NUM;
static uint8_t AIN_X[40] = {0,  1,  2,  3,  4,  5,  6,  7,  8,  9,  10,  11,  12,  13,  14,  15};
static uint8_t AIN_Y[40] = {0,  1,  2,  3,  4,  5,  6,  7,  8,  9,  10,  11,  12,  13,  14,  15,  16,  17,
							18,  19,  20,  21,  22,  23,  24,  25,  26,  27,  28,  29,  30,  31,  32,  33,  34,  35};
#if TOUCH_KEY_NUM > 0
static uint8_t AIN_KEY[8] = {0,  1,  2,  0xFF,  0xFF,  0xFF,  0xFF,  0xFF};
#endif /* #if TOUCH_KEY_NUM > 0 */

static int32_t PS_Config_Lmt_Short_Rawdata_P[40 * 40] = {
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
	14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000, 14000,
#if TOUCH_KEY_NUM > 0
	14008, 14008, 14008,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Lmt_Short_Rawdata_N[40 * 40] = {
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
	11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000, 11000,
#if TOUCH_KEY_NUM > 0
	10000, 10000, 10000,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Lmt_Open_Rawdata_P[40 * 40] = {
	2899, 	65535, 	3065, 	3097, 	3064, 	3077, 	3046, 	3068, 	3037, 	3083, 	3053, 	3088, 	3070, 	3122, 	3055, 	2029,
	2937, 	2764, 	3008, 	3049, 	3013, 	3035, 	3004, 	3021, 	3014, 	3061, 	3031, 	3068, 	3053, 	3103, 	3083, 	3079,
	3083, 	2838, 	3020, 	3058, 	3022, 	3045, 	3011, 	3030, 	3023, 	3069, 	3037, 	3073, 	3061, 	3110, 	3086, 	3115,
	3055, 	3054, 	3013, 	3051, 	3017, 	3040, 	3003, 	3022, 	3014, 	3056, 	3028, 	3063, 	3054, 	3100, 	3077, 	3126,
	3049, 	3067, 	3027, 	3065, 	3025, 	3048, 	3014, 	3032, 	3018, 	3060, 	3035, 	3065, 	3058, 	3106, 	3077, 	3134,
	3063, 	3073, 	3034, 	3070, 	3031, 	3055, 	3018, 	3039, 	3031, 	3072, 	3049, 	3082, 	3070, 	3114, 	3091, 	3134,
	3072, 	3096, 	3054, 	3089, 	3049, 	3073, 	3036, 	3054, 	3046, 	3081, 	3060, 	3092, 	3079, 	3121, 	3097, 	3128,
	3074, 	3098, 	3054, 	3091, 	3053, 	3078, 	3037, 	3055, 	3049, 	3081, 	3060, 	3093, 	3082, 	3120, 	3097, 	3114,
	3101, 	3100, 	3054, 	3087, 	3046, 	3072, 	3031, 	3046, 	3042, 	3073, 	3054, 	3088, 	3073, 	3117, 	3089, 	3129,
	3102, 	3108, 	3059, 	3092, 	3055, 	3081, 	3036, 	3056, 	3046, 	3069, 	3044, 	3087, 	3072, 	3110, 	3089, 	3122,
	3091, 	3105, 	3053, 	3083, 	3042, 	3069, 	3026, 	3051, 	3056, 	3082, 	3055, 	3100, 	3086, 	3125, 	3100, 	3136,
	3089, 	3103, 	3061, 	3092, 	3050, 	3077, 	3035, 	3059, 	3051, 	3074, 	3049, 	3094, 	3077, 	3115, 	3086, 	3136,
	3075, 	3115, 	3070, 	3100, 	3060, 	3089, 	3045, 	3069, 	3073, 	3098, 	3075, 	3120, 	3101, 	3143, 	3115, 	3128,
	3087, 	3116, 	3074, 	3103, 	3064, 	3091, 	3044, 	3075, 	3072, 	3094, 	3073, 	3119, 	3097, 	3136, 	3111, 	3136,
	3093, 	3119, 	3084, 	3112, 	3070, 	3098, 	3055, 	3088, 	3086, 	3114, 	3089, 	3133, 	3111, 	3150, 	3119, 	3140,
	3094, 	3106, 	3073, 	3103, 	3060, 	3086, 	3049, 	3077, 	3075, 	3100, 	3078, 	3124, 	3101, 	3141, 	3106, 	3120,
	3101, 	3106, 	3075, 	3101, 	3058, 	3083, 	3046, 	3086, 	3086, 	3114, 	3092, 	3136, 	3112, 	3153, 	3114, 	3144,
	3083, 	3105, 	3074, 	3101, 	3054, 	3082, 	3045, 	3083, 	3067, 	3091, 	3070, 	3117, 	3089, 	3129, 	3088, 	3150,
	3075, 	3089, 	3058, 	3083, 	3045, 	3072, 	3030, 	3065, 	3089, 	3117, 	3098, 	3141, 	3112, 	3153, 	3112, 	3129,
	3060, 	3106, 	3074, 	3103, 	3063, 	3089, 	3051, 	3088, 	3094, 	3116, 	3097, 	3141, 	3111, 	3149, 	3110, 	3136,
	3059, 	3101, 	3068, 	3096, 	3056, 	3083, 	3044, 	3083, 	3068, 	3094, 	3072, 	3116, 	3091, 	3130, 	3087, 	3128,
	3082, 	3079, 	3049, 	3074, 	3032, 	3063, 	3026, 	3059, 	3068, 	3097, 	3072, 	3115, 	3086, 	3128, 	3084, 	3117,
	3069, 	3075, 	3045, 	3072, 	3030, 	3060, 	3026, 	3063, 	3060, 	3091, 	3068, 	3106, 	3077, 	3116, 	3079, 	3108,
	3048, 	3074, 	3041, 	3068, 	3025, 	3053, 	3018, 	3060, 	3050, 	3083, 	3055, 	3096, 	3065, 	3103, 	3064, 	3102,
	3039, 	3056, 	3025, 	3056, 	3013, 	3044, 	3011, 	3049, 	3041, 	3074, 	3048, 	3088, 	3059, 	3093, 	3056, 	3107,
	3046, 	3049, 	3022, 	3050, 	3009, 	3041, 	3011, 	3046, 	3039, 	3073, 	3044, 	3084, 	3053, 	3088, 	3053, 	3091,
	3030, 	3060, 	3030, 	3055, 	3014, 	3042, 	3013, 	3051, 	3048, 	3087, 	3053, 	3091, 	3061, 	3096, 	3060, 	3074,
	3026, 	3028, 	2998, 	3026, 	2983, 	3014, 	2984, 	3022, 	3017, 	3055, 	3026, 	3067, 	3037, 	3073, 	3040, 	3061,
	3027, 	3027, 	2998, 	3026, 	2983, 	3013, 	2984, 	3020, 	3003, 	3039, 	3008, 	3048, 	3020, 	3055, 	3018, 	3061,
	2994, 	3008, 	2983, 	3009, 	2967, 	2999, 	2970, 	3006, 	2987, 	3023, 	2993, 	3035, 	3008, 	3040, 	3008, 	3037,
	2993, 	2994, 	2966, 	2995, 	2954, 	2985, 	2957, 	2992, 	2983, 	3022, 	2994, 	3034, 	3007, 	3042, 	3011, 	3034,
	2768, 	2976, 	2745, 	2978, 	2735, 	2969, 	2733, 	2974, 	2759, 	3002, 	2767, 	3011, 	2780, 	3018, 	2781, 	3009,
	2759, 	2762, 	2736, 	2763, 	2725, 	2753, 	2724, 	2755, 	2754, 	2788, 	2763, 	2800, 	2774, 	2807, 	2776, 	2800,
	2748, 	2767, 	2739, 	2764, 	2724, 	2752, 	2725, 	2757, 	2735, 	2768, 	2740, 	2781, 	2754, 	2787, 	2757, 	2827,
	2678, 	2745, 	2713, 	2741, 	2701, 	2727, 	2703, 	2733, 	2706, 	2743, 	2719, 	2760, 	2733, 	2766, 	2735, 	2736,
	1630, 	2717, 	2733, 	2763, 	2719, 	2748, 	2730, 	2753, 	2741, 	2773, 	2745, 	2788, 	2762, 	2791, 	2721, 	1675,
#if TOUCH_KEY_NUM > 0
	5120, 5120, 5120,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Lmt_Open_Rawdata_N[40 * 40] = {
	1666, 	-65535, 	1762, 	1780, 	1761, 	1768, 	1751, 	1763, 	1746, 	1772, 	1754, 	1775, 	1765, 	1795, 	1756, 	1166,
	1688, 	1589, 	1729, 	1752, 	1732, 	1744, 	1727, 	1736, 	1733, 	1760, 	1742, 	1763, 	1754, 	1784, 	1772, 	1770,
	1772, 	1631, 	1735, 	1757, 	1737, 	1750, 	1730, 	1741, 	1738, 	1764, 	1746, 	1766, 	1760, 	1787, 	1773, 	1790,
	1756, 	1755, 	1732, 	1754, 	1734, 	1747, 	1726, 	1737, 	1733, 	1757, 	1741, 	1760, 	1755, 	1781, 	1768, 	1797,
	1752, 	1762, 	1740, 	1762, 	1738, 	1752, 	1733, 	1743, 	1735, 	1759, 	1744, 	1762, 	1757, 	1785, 	1768, 	1801,
	1760, 	1766, 	1743, 	1765, 	1742, 	1756, 	1735, 	1746, 	1742, 	1765, 	1752, 	1771, 	1765, 	1789, 	1776, 	1801,
	1765, 	1779, 	1755, 	1776, 	1752, 	1766, 	1745, 	1755, 	1751, 	1770, 	1759, 	1777, 	1770, 	1794, 	1780, 	1797,
	1767, 	1781, 	1755, 	1776, 	1754, 	1769, 	1746, 	1756, 	1752, 	1770, 	1759, 	1778, 	1771, 	1793, 	1780, 	1789,
	1782, 	1781, 	1755, 	1774, 	1751, 	1765, 	1742, 	1751, 	1749, 	1766, 	1755, 	1775, 	1766, 	1792, 	1776, 	1798,
	1783, 	1787, 	1758, 	1777, 	1756, 	1770, 	1745, 	1757, 	1751, 	1764, 	1749, 	1774, 	1765, 	1787, 	1776, 	1795,
	1776, 	1784, 	1754, 	1772, 	1749, 	1764, 	1739, 	1754, 	1757, 	1771, 	1756, 	1781, 	1773, 	1796, 	1781, 	1803,
	1776, 	1784, 	1760, 	1777, 	1753, 	1768, 	1744, 	1758, 	1754, 	1767, 	1752, 	1779, 	1768, 	1790, 	1773, 	1803,
	1768, 	1790, 	1765, 	1781, 	1759, 	1776, 	1750, 	1764, 	1766, 	1781, 	1768, 	1793, 	1782, 	1806, 	1790, 	1797,
	1774, 	1791, 	1767, 	1784, 	1761, 	1776, 	1749, 	1768, 	1765, 	1779, 	1766, 	1792, 	1780, 	1803, 	1788, 	1803,
	1778, 	1792, 	1773, 	1789, 	1765, 	1781, 	1756, 	1775, 	1773, 	1789, 	1776, 	1800, 	1788, 	1811, 	1792, 	1805,
	1779, 	1785, 	1766, 	1784, 	1759, 	1773, 	1752, 	1768, 	1768, 	1781, 	1769, 	1795, 	1782, 	1806, 	1785, 	1793,
	1782, 	1785, 	1768, 	1782, 	1757, 	1772, 	1751, 	1773, 	1773, 	1789, 	1777, 	1803, 	1789, 	1812, 	1789, 	1807,
	1772, 	1784, 	1767, 	1782, 	1755, 	1771, 	1750, 	1772, 	1762, 	1776, 	1765, 	1792, 	1776, 	1798, 	1775, 	1811,
	1768, 	1776, 	1757, 	1772, 	1750, 	1765, 	1741, 	1762, 	1776, 	1792, 	1781, 	1806, 	1789, 	1812, 	1789, 	1798,
	1759, 	1785, 	1767, 	1784, 	1760, 	1776, 	1754, 	1775, 	1779, 	1791, 	1780, 	1806, 	1788, 	1810, 	1787, 	1803,
	1758, 	1782, 	1763, 	1779, 	1757, 	1772, 	1749, 	1772, 	1763, 	1779, 	1765, 	1791, 	1776, 	1799, 	1774, 	1797,
	1771, 	1770, 	1752, 	1767, 	1743, 	1760, 	1739, 	1758, 	1763, 	1780, 	1765, 	1790, 	1773, 	1797, 	1773, 	1792,
	1764, 	1768, 	1750, 	1765, 	1741, 	1759, 	1739, 	1760, 	1759, 	1776, 	1763, 	1785, 	1768, 	1791, 	1770, 	1787,
	1752, 	1767, 	1748, 	1763, 	1738, 	1754, 	1735, 	1759, 	1753, 	1772, 	1756, 	1779, 	1762, 	1784, 	1761, 	1783,
	1746, 	1757, 	1738, 	1757, 	1732, 	1749, 	1730, 	1752, 	1748, 	1767, 	1752, 	1775, 	1758, 	1778, 	1757, 	1786,
	1751, 	1752, 	1737, 	1753, 	1730, 	1748, 	1730, 	1751, 	1746, 	1766, 	1749, 	1773, 	1754, 	1775, 	1754, 	1776,
	1741, 	1759, 	1741, 	1756, 	1733, 	1749, 	1732, 	1754, 	1752, 	1774, 	1754, 	1776, 	1760, 	1779, 	1759, 	1767,
	1739, 	1741, 	1723, 	1739, 	1714, 	1733, 	1715, 	1737, 	1734, 	1756, 	1739, 	1762, 	1746, 	1766, 	1747, 	1760,
	1740, 	1740, 	1723, 	1739, 	1714, 	1732, 	1715, 	1735, 	1726, 	1746, 	1729, 	1752, 	1735, 	1756, 	1735, 	1760,
	1721, 	1729, 	1714, 	1730, 	1706, 	1724, 	1707, 	1727, 	1716, 	1738, 	1720, 	1744, 	1729, 	1747, 	1729, 	1746,
	1720, 	1721, 	1705, 	1722, 	1697, 	1716, 	1700, 	1719, 	1714, 	1737, 	1721, 	1743, 	1728, 	1749, 	1730, 	1743,
	1591, 	1711, 	1578, 	1711, 	1572, 	1706, 	1570, 	1709, 	1586, 	1725, 	1590, 	1730, 	1597, 	1735, 	1598, 	1730,
	1586, 	1587, 	1573, 	1588, 	1566, 	1582, 	1565, 	1584, 	1583, 	1603, 	1588, 	1609, 	1595, 	1614, 	1595, 	1609,
	1579, 	1590, 	1574, 	1589, 	1565, 	1581, 	1566, 	1584, 	1572, 	1591, 	1575, 	1598, 	1583, 	1602, 	1584, 	1624,
	1539, 	1578, 	1560, 	1576, 	1552, 	1568, 	1554, 	1570, 	1555, 	1576, 	1562, 	1587, 	1570, 	1589, 	1572, 	1573,
	937, 	1562, 	1570, 	1588, 	1562, 	1579, 	1569, 	1582, 	1576, 	1594, 	1578, 	1603, 	1587, 	1604, 	1564, 	962,
#if TOUCH_KEY_NUM > 0
	50, 50, 50,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Lmt_FW_Rawdata_P[40 * 40] = {
	2166, 	65535, 	2130, 	2107, 	2115, 	2124, 	2099, 	2157, 	2157, 	2134, 	2139, 	2154, 	2157, 	2126, 	2149, 	2150,
	2182, 	2142, 	2161, 	2184, 	2162, 	2127, 	2162, 	2142, 	2135, 	2155, 	2155, 	2127, 	2128, 	2124, 	2164, 	2126,
	2185, 	2123, 	2168, 	2133, 	2139, 	2135, 	2137, 	2151, 	2085, 	2207, 	2162, 	2188, 	2153, 	2170, 	2177, 	2124,
	2164, 	2139, 	2138, 	2123, 	2139, 	2131, 	2097, 	2124, 	2116, 	2182, 	2118, 	2110, 	2145, 	2118, 	2172, 	2112,
	2165, 	2106, 	2149, 	2145, 	2107, 	2104, 	2114, 	2162, 	2091, 	2165, 	2174, 	2145, 	2154, 	2150, 	2124, 	2172,
	2135, 	2164, 	2110, 	2134, 	2119, 	2154, 	2116, 	2135, 	2116, 	2099, 	2224, 	2111, 	2104, 	2092, 	2130, 	2133,
	2097, 	2178, 	2114, 	2122, 	2119, 	2106, 	2106, 	2123, 	2177, 	2131, 	2145, 	2162, 	2164, 	2178, 	2170, 	2184,
	2133, 	2176, 	2124, 	2146, 	2128, 	2146, 	2123, 	2143, 	2122, 	2139, 	2137, 	2112, 	2124, 	2118, 	2147, 	2207,
	2124, 	2118, 	2131, 	2146, 	2107, 	2131, 	2133, 	2147, 	2176, 	2104, 	2146, 	2184, 	2174, 	2207, 	2166, 	2176,
	2124, 	2153, 	2110, 	2141, 	2135, 	2126, 	2157, 	2138, 	2208, 	2138, 	2151, 	2151, 	2177, 	2174, 	2174, 	2176,
	2146, 	2191, 	2123, 	2143, 	2141, 	2149, 	2158, 	2187, 	2169, 	2153, 	2103, 	2207, 	2203, 	2088, 	2205, 	2101,
	2208, 	2187, 	2181, 	2160, 	2200, 	2214, 	2133, 	2161, 	2135, 	2143, 	2119, 	2164, 	2170, 	2137, 	2151, 	2122,
	2093, 	2130, 	2134, 	2096, 	2112, 	2122, 	2138, 	2184, 	2216, 	2234, 	2178, 	2092, 	2088, 	2112, 	2134, 	2120,
	2115, 	2134, 	2112, 	2158, 	2122, 	2147, 	2151, 	2120, 	2142, 	2155, 	2127, 	2168, 	2164, 	2170, 	2173, 	2203,
	2106, 	2143, 	2242, 	2226, 	2234, 	2137, 	2126, 	2114, 	2185, 	2149, 	2137, 	2184, 	2199, 	2172, 	2154, 	2181,
	2199, 	2147, 	2143, 	2126, 	2108, 	2126, 	2143, 	2120, 	2185, 	2168, 	2160, 	2097, 	2160, 	2161, 	2173, 	2139,
	2107, 	2124, 	2150, 	2141, 	2108, 	2123, 	2139, 	2161, 	2142, 	2173, 	2182, 	2124, 	2139, 	2142, 	2112, 	2089,
	2108, 	2158, 	2162, 	2182, 	2153, 	2174, 	2169, 	2110, 	2214, 	2178, 	2111, 	2064, 	2096, 	2073, 	2107, 	2205,
	2147, 	2178, 	2164, 	2160, 	2185, 	2153, 	2131, 	2150, 	2185, 	2155, 	2124, 	2145, 	2147, 	2142, 	2155, 	2169,
	2146, 	2123, 	2151, 	2131, 	2119, 	2114, 	2110, 	2153, 	2145, 	2058, 	2235, 	2228, 	2191, 	2204, 	2207, 	2189,
	2120, 	2137, 	2155, 	2133, 	2126, 	2168, 	2151, 	2142, 	2177, 	2204, 	2196, 	2160, 	2220, 	2197, 	2181, 	2155,
	2145, 	2138, 	2124, 	2119, 	2160, 	2157, 	2174, 	2189, 	2145, 	2158, 	2134, 	2139, 	2138, 	2118, 	2083, 	2119,
	2143, 	2166, 	2172, 	2150, 	2151, 	2138, 	2116, 	2127, 	2104, 	2085, 	2108, 	2142, 	2134, 	2185, 	2149, 	2185,
	2160, 	2166, 	2188, 	2162, 	2195, 	2135, 	2149, 	2201, 	2166, 	2137, 	2161, 	2145, 	2155, 	2138, 	2150, 	2149,
	2180, 	2204, 	2188, 	2164, 	2215, 	2084, 	2093, 	2164, 	2145, 	2110, 	2151, 	2119, 	2112, 	2124, 	2119, 	2134,
	2138, 	2120, 	2124, 	2120, 	2177, 	2147, 	2145, 	2164, 	2166, 	2184, 	2154, 	2165, 	2149, 	2155, 	2165, 	2173,
	2181, 	2162, 	2143, 	2184, 	2153, 	2147, 	2120, 	2147, 	2145, 	2170, 	2096, 	2100, 	2161, 	2142, 	2182, 	2174,
	2180, 	2151, 	2169, 	2124, 	2126, 	2169, 	2130, 	2123, 	2119, 	2155, 	2120, 	2118, 	2127, 	2141, 	2149, 	2170,
	2154, 	2157, 	2162, 	2180, 	2154, 	2170, 	2126, 	2169, 	2178, 	2151, 	2166, 	2149, 	2162, 	2157, 	2111, 	2141,
	2207, 	2134, 	2141, 	2161, 	2120, 	2166, 	2138, 	2157, 	2123, 	2135, 	2110, 	2160, 	2143, 	2162, 	2135, 	2127,
	2128, 	2216, 	2191, 	2192, 	2169, 	2177, 	2154, 	2158, 	2193, 	2205, 	2174, 	2169, 	2164, 	2195, 	2134, 	2133,
	2177, 	2184, 	2145, 	2207, 	2131, 	2130, 	2150, 	2158, 	2149, 	2189, 	2134, 	2157, 	2154, 	2155, 	2150, 	2097,
	2166, 	2178, 	2133, 	2141, 	2118, 	2178, 	2176, 	2157, 	2131, 	2162, 	2122, 	2160, 	2141, 	2161, 	2130, 	2161,
	2174, 	2146, 	2147, 	2111, 	2149, 	2200, 	2139, 	2138, 	2147, 	2143, 	2138, 	2176, 	2177, 	2142, 	2177, 	2153,
	2107, 	2147, 	2176, 	2196, 	2182, 	2141, 	2137, 	2104, 	2142, 	2096, 	2085, 	2077, 	2118, 	2164, 	2150, 	2155,
	2188, 	2104, 	2135, 	2089, 	2099, 	2097, 	2147, 	2164, 	2160, 	2137, 	2116, 	2124, 	2124, 	2155, 	2155, 	2188,
#if TOUCH_KEY_NUM > 0
	2560, 2560, 2560,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Lmt_FW_Rawdata_N[40 * 40] = {
	1043, 	-65535, 	1025, 	1014, 	1018, 	1023, 	1010, 	1038, 	1038, 	1027, 	1030, 	1037, 	1038, 	1023, 	1034, 	1035,
	1051, 	1031, 	1040, 	1051, 	1041, 	1024, 	1041, 	1031, 	1028, 	1038, 	1038, 	1024, 	1025, 	1023, 	1041, 	1023,
	1052, 	1022, 	1043, 	1027, 	1030, 	1028, 	1028, 	1036, 	1004, 	1062, 	1041, 	1053, 	1036, 	1045, 	1048, 	1023,
	1041, 	1030, 	1029, 	1022, 	1030, 	1026, 	1010, 	1023, 	1019, 	1051, 	1019, 	1015, 	1032, 	1019, 	1045, 	1017,
	1042, 	1014, 	1034, 	1032, 	1014, 	1013, 	1017, 	1041, 	1006, 	1042, 	1047, 	1032, 	1037, 	1035, 	1023, 	1045,
	1028, 	1041, 	1015, 	1027, 	1020, 	1037, 	1019, 	1028, 	1019, 	1010, 	1071, 	1016, 	1013, 	1007, 	1025, 	1027,
	1010, 	1049, 	1017, 	1021, 	1020, 	1014, 	1014, 	1022, 	1048, 	1026, 	1032, 	1041, 	1041, 	1049, 	1045, 	1051,
	1027, 	1047, 	1023, 	1033, 	1025, 	1033, 	1022, 	1032, 	1021, 	1030, 	1028, 	1017, 	1023, 	1019, 	1034, 	1062,
	1023, 	1019, 	1026, 	1033, 	1014, 	1026, 	1027, 	1034, 	1047, 	1013, 	1033, 	1051, 	1047, 	1062, 	1043, 	1047,
	1023, 	1036, 	1015, 	1030, 	1028, 	1023, 	1038, 	1029, 	1063, 	1029, 	1036, 	1036, 	1048, 	1047, 	1047, 	1047,
	1033, 	1054, 	1022, 	1032, 	1030, 	1034, 	1039, 	1053, 	1044, 	1036, 	1012, 	1062, 	1060, 	1005, 	1062, 	1012,
	1063, 	1053, 	1050, 	1040, 	1059, 	1066, 	1027, 	1040, 	1028, 	1032, 	1020, 	1041, 	1045, 	1028, 	1036, 	1021,
	1008, 	1025, 	1027, 	1009, 	1017, 	1021, 	1029, 	1051, 	1067, 	1075, 	1049, 	1007, 	1005, 	1017, 	1027, 	1021,
	1018, 	1027, 	1017, 	1039, 	1021, 	1034, 	1036, 	1021, 	1031, 	1038, 	1024, 	1043, 	1041, 	1045, 	1046, 	1060,
	1014, 	1032, 	1079, 	1071, 	1075, 	1028, 	1023, 	1017, 	1052, 	1034, 	1028, 	1051, 	1058, 	1045, 	1037, 	1050,
	1058, 	1034, 	1032, 	1023, 	1015, 	1023, 	1032, 	1021, 	1052, 	1043, 	1040, 	1010, 	1040, 	1040, 	1046, 	1030,
	1014, 	1023, 	1035, 	1030, 	1015, 	1022, 	1030, 	1040, 	1031, 	1046, 	1051, 	1023, 	1030, 	1031, 	1017, 	1006,
	1015, 	1039, 	1041, 	1051, 	1036, 	1047, 	1044, 	1015, 	1066, 	1049, 	1016, 	993, 	1009, 	998, 	1014, 	1062,
	1034, 	1049, 	1041, 	1040, 	1052, 	1036, 	1026, 	1035, 	1052, 	1038, 	1023, 	1032, 	1034, 	1031, 	1038, 	1044,
	1033, 	1022, 	1036, 	1026, 	1020, 	1017, 	1015, 	1036, 	1032, 	991, 	1076, 	1073, 	1054, 	1061, 	1062, 	1054,
	1021, 	1028, 	1038, 	1027, 	1023, 	1043, 	1036, 	1031, 	1048, 	1061, 	1057, 	1040, 	1069, 	1058, 	1050, 	1038,
	1032, 	1029, 	1023, 	1020, 	1040, 	1038, 	1047, 	1054, 	1032, 	1039, 	1027, 	1030, 	1029, 	1019, 	1002, 	1020,
	1032, 	1043, 	1045, 	1035, 	1036, 	1029, 	1019, 	1024, 	1013, 	1004, 	1015, 	1031, 	1027, 	1052, 	1034, 	1052,
	1040, 	1043, 	1053, 	1041, 	1056, 	1028, 	1034, 	1060, 	1043, 	1028, 	1040, 	1032, 	1038, 	1029, 	1035, 	1034,
	1049, 	1061, 	1053, 	1041, 	1066, 	1003, 	1008, 	1041, 	1032, 	1015, 	1036, 	1020, 	1017, 	1023, 	1020, 	1027,
	1029, 	1021, 	1023, 	1021, 	1048, 	1034, 	1032, 	1041, 	1043, 	1051, 	1037, 	1042, 	1034, 	1038, 	1042, 	1046,
	1050, 	1041, 	1032, 	1051, 	1036, 	1034, 	1021, 	1034, 	1032, 	1045, 	1009, 	1011, 	1040, 	1031, 	1051, 	1047,
	1049, 	1036, 	1044, 	1023, 	1023, 	1044, 	1025, 	1022, 	1020, 	1038, 	1021, 	1019, 	1024, 	1030, 	1034, 	1045,
	1037, 	1038, 	1041, 	1049, 	1037, 	1045, 	1023, 	1044, 	1049, 	1036, 	1043, 	1034, 	1041, 	1038, 	1016, 	1030,
	1062, 	1027, 	1030, 	1040, 	1021, 	1043, 	1029, 	1038, 	1022, 	1028, 	1015, 	1040, 	1032, 	1041, 	1028, 	1024,
	1025, 	1067, 	1054, 	1055, 	1044, 	1048, 	1037, 	1039, 	1056, 	1062, 	1047, 	1044, 	1041, 	1056, 	1027, 	1027,
	1048, 	1051, 	1032, 	1062, 	1026, 	1025, 	1035, 	1039, 	1034, 	1054, 	1027, 	1038, 	1037, 	1038, 	1035, 	1010,
	1043, 	1049, 	1027, 	1030, 	1019, 	1049, 	1047, 	1038, 	1026, 	1041, 	1021, 	1040, 	1030, 	1040, 	1025, 	1040,
	1047, 	1033, 	1034, 	1016, 	1034, 	1059, 	1030, 	1029, 	1034, 	1032, 	1029, 	1047, 	1048, 	1031, 	1048, 	1036,
	1014, 	1034, 	1047, 	1057, 	1051, 	1030, 	1028, 	1013, 	1031, 	1009, 	1004, 	1000, 	1019, 	1041, 	1035, 	1038,
	1053, 	1013, 	1028, 	1006, 	1010, 	1010, 	1034, 	1041, 	1040, 	1028, 	1019, 	1023, 	1023, 	1038, 	1038, 	1053,
#if TOUCH_KEY_NUM > 0
	240, 240, 240,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Lmt_FW_CC_P[40 * 40] = {
	107, 	65535, 	119, 	119, 	119, 	119, 	119, 	119, 	122, 	122, 	121, 	120, 	120, 	119, 	119, 	105,
	120, 	107, 	105, 	105, 	106, 	106, 	105, 	106, 	112, 	112, 	110, 	109, 	109, 	109, 	109, 	109,
	125, 	106, 	105, 	105, 	105, 	105, 	105, 	105, 	109, 	109, 	107, 	106, 	106, 	106, 	105, 	107,
	112, 	107, 	106, 	106, 	106, 	106, 	106, 	106, 	110, 	107, 	107, 	107, 	107, 	107, 	107, 	111,
	110, 	107, 	106, 	106, 	105, 	106, 	106, 	106, 	109, 	107, 	106, 	105, 	105, 	105, 	105, 	107,
	111, 	109, 	107, 	107, 	107, 	107, 	107, 	107, 	111, 	110, 	110, 	109, 	109, 	109, 	109, 	110,
	110, 	106, 	105, 	105, 	105, 	105, 	105, 	105, 	109, 	107, 	107, 	106, 	106, 	106, 	105, 	109,
	112, 	107, 	107, 	107, 	107, 	107, 	107, 	107, 	110, 	109, 	110, 	107, 	107, 	107, 	107, 	110,
	110, 	107, 	107, 	107, 	106, 	107, 	107, 	107, 	109, 	109, 	109, 	106, 	106, 	107, 	106, 	110,
	112, 	109, 	107, 	107, 	107, 	107, 	107, 	107, 	110, 	110, 	110, 	107, 	107, 	107, 	107, 	109,
	110, 	106, 	105, 	105, 	105, 	105, 	106, 	106, 	110, 	109, 	109, 	106, 	106, 	107, 	106, 	110,
	111, 	105, 	105, 	106, 	105, 	105, 	106, 	107, 	107, 	107, 	107, 	105, 	105, 	105, 	105, 	111,
	110, 	106, 	105, 	106, 	105, 	106, 	106, 	107, 	109, 	109, 	109, 	109, 	109, 	109, 	107, 	109,
	110, 	107, 	107, 	109, 	109, 	109, 	109, 	110, 	110, 	110, 	110, 	109, 	109, 	107, 	107, 	110,
	110, 	105, 	105, 	105, 	105, 	106, 	106, 	109, 	106, 	107, 	107, 	105, 	105, 	106, 	105, 	110,
	111, 	107, 	107, 	107, 	107, 	107, 	107, 	110, 	109, 	109, 	109, 	109, 	107, 	107, 	107, 	111,
	109, 	107, 	107, 	107, 	107, 	107, 	107, 	109, 	109, 	109, 	107, 	107, 	107, 	107, 	107, 	110,
	111, 	107, 	107, 	107, 	107, 	107, 	109, 	110, 	110, 	110, 	110, 	109, 	109, 	109, 	109, 	111,
	110, 	105, 	105, 	105, 	105, 	105, 	106, 	106, 	107, 	107, 	106, 	106, 	106, 	106, 	105, 	110,
	110, 	107, 	107, 	107, 	107, 	107, 	109, 	110, 	110, 	110, 	109, 	107, 	107, 	107, 	107, 	112,
	109, 	106, 	106, 	106, 	106, 	107, 	107, 	107, 	110, 	109, 	107, 	107, 	107, 	106, 	106, 	110,
	110, 	109, 	109, 	109, 	109, 	109, 	109, 	109, 	111, 	110, 	110, 	109, 	109, 	110, 	110, 	112,
	110, 	106, 	105, 	106, 	105, 	106, 	107, 	107, 	110, 	107, 	107, 	106, 	107, 	106, 	106, 	112,
	111, 	107, 	107, 	107, 	107, 	109, 	109, 	110, 	110, 	109, 	107, 	109, 	107, 	107, 	107, 	114,
	109, 	106, 	106, 	107, 	106, 	107, 	107, 	109, 	109, 	109, 	107, 	107, 	109, 	107, 	107, 	112,
	111, 	109, 	109, 	109, 	109, 	110, 	110, 	111, 	110, 	110, 	109, 	110, 	109, 	110, 	110, 	112,
	110, 	106, 	105, 	105, 	105, 	107, 	107, 	107, 	107, 	107, 	107, 	107, 	107, 	107, 	107, 	112,
	112, 	107, 	107, 	107, 	107, 	110, 	109, 	110, 	109, 	109, 	109, 	109, 	109, 	109, 	109, 	115,
	109, 	107, 	107, 	107, 	107, 	109, 	109, 	110, 	106, 	107, 	106, 	106, 	107, 	107, 	109, 	115,
	110, 	110, 	110, 	109, 	109, 	111, 	110, 	111, 	109, 	109, 	109, 	109, 	109, 	109, 	110, 	115,
	111, 	106, 	105, 	105, 	105, 	106, 	106, 	107, 	107, 	107, 	107, 	107, 	107, 	107, 	110, 	114,
	112, 	109, 	107, 	107, 	107, 	110, 	109, 	110, 	107, 	107, 	107, 	109, 	109, 	110, 	110, 	116,
	107, 	107, 	107, 	107, 	106, 	107, 	107, 	110, 	106, 	106, 	107, 	106, 	107, 	107, 	110, 	112,
	111, 	109, 	109, 	110, 	109, 	110, 	111, 	111, 	109, 	109, 	109, 	110, 	109, 	110, 	111, 	127,
	110, 	106, 	105, 	105, 	105, 	107, 	109, 	109, 	105, 	105, 	106, 	106, 	106, 	106, 	109, 	110,
	105, 	119, 	117, 	119, 	119, 	121, 	122, 	122, 	120, 	119, 	120, 	120, 	120, 	120, 	122, 	112,
#if TOUCH_KEY_NUM > 0
	314, 314, 314,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Lmt_FW_CC_N[40 * 40] = {
	66, 	-65535, 	72, 	72, 	72, 	72, 	72, 	72, 	75, 	75, 	74, 	73, 	73, 	72, 	72, 	64,
	73, 	66, 	64, 	64, 	65, 	65, 	64, 	65, 	69, 	69, 	67, 	66, 	66, 	66, 	66, 	66,
	76, 	65, 	64, 	64, 	64, 	64, 	64, 	64, 	66, 	66, 	66, 	65, 	65, 	65, 	64, 	66,
	69, 	66, 	65, 	65, 	65, 	65, 	65, 	65, 	67, 	66, 	66, 	66, 	66, 	66, 	66, 	68,
	67, 	66, 	65, 	65, 	64, 	65, 	65, 	65, 	66, 	66, 	65, 	64, 	64, 	64, 	64, 	66,
	68, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	68, 	67, 	67, 	66, 	66, 	66, 	66, 	67,
	67, 	65, 	64, 	64, 	64, 	64, 	64, 	64, 	66, 	66, 	66, 	65, 	65, 	65, 	64, 	66,
	69, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	66, 	67, 	66, 	66, 	66, 	66, 	67,
	67, 	66, 	66, 	66, 	65, 	66, 	66, 	66, 	66, 	66, 	66, 	65, 	65, 	66, 	65, 	67,
	69, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	67, 	67, 	66, 	66, 	66, 	66, 	66,
	67, 	65, 	64, 	64, 	64, 	64, 	65, 	65, 	67, 	66, 	66, 	65, 	65, 	66, 	65, 	67,
	68, 	64, 	64, 	65, 	64, 	64, 	65, 	66, 	66, 	66, 	66, 	64, 	64, 	64, 	64, 	68,
	67, 	65, 	64, 	65, 	64, 	65, 	65, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66,
	67, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	67, 	67, 	67, 	66, 	66, 	66, 	66, 	67,
	67, 	64, 	64, 	64, 	64, 	65, 	65, 	66, 	65, 	66, 	66, 	64, 	64, 	65, 	64, 	67,
	68, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	68,
	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	67,
	68, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	67, 	67, 	67, 	66, 	66, 	66, 	66, 	68,
	67, 	64, 	64, 	64, 	64, 	64, 	65, 	65, 	66, 	66, 	65, 	65, 	65, 	65, 	64, 	67,
	67, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	67, 	67, 	66, 	66, 	66, 	66, 	66, 	69,
	66, 	65, 	65, 	65, 	65, 	66, 	66, 	66, 	67, 	66, 	66, 	66, 	66, 	65, 	65, 	67,
	67, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	68, 	67, 	67, 	66, 	66, 	67, 	67, 	69,
	67, 	65, 	64, 	65, 	64, 	65, 	66, 	66, 	67, 	66, 	66, 	65, 	66, 	65, 	65, 	69,
	68, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	67, 	66, 	66, 	66, 	66, 	66, 	66, 	69,
	66, 	65, 	65, 	66, 	65, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	69,
	68, 	66, 	66, 	66, 	66, 	67, 	67, 	68, 	67, 	67, 	66, 	67, 	66, 	67, 	67, 	69,
	67, 	65, 	64, 	64, 	64, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	69,
	69, 	66, 	66, 	66, 	66, 	67, 	66, 	67, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	70,
	66, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	65, 	66, 	65, 	65, 	66, 	66, 	66, 	70,
	67, 	67, 	67, 	66, 	66, 	68, 	67, 	68, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	70,
	68, 	65, 	64, 	64, 	64, 	65, 	65, 	66, 	66, 	66, 	66, 	66, 	66, 	66, 	67, 	69,
	69, 	66, 	66, 	66, 	66, 	67, 	66, 	67, 	66, 	66, 	66, 	66, 	66, 	67, 	67, 	71,
	66, 	66, 	66, 	66, 	65, 	66, 	66, 	67, 	65, 	65, 	66, 	65, 	66, 	66, 	67, 	69,
	68, 	66, 	66, 	67, 	66, 	67, 	68, 	68, 	66, 	66, 	66, 	67, 	66, 	67, 	68, 	78,
	67, 	65, 	64, 	64, 	64, 	66, 	66, 	66, 	64, 	64, 	65, 	65, 	65, 	65, 	66, 	67,
	64, 	72, 	72, 	72, 	72, 	74, 	75, 	75, 	73, 	72, 	73, 	73, 	73, 	73, 	75, 	69,
#if TOUCH_KEY_NUM > 0
	0, 0, 0,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Lmt_FW_Diff_P[40 * 40] = {
	50, 65535, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
	50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
#if TOUCH_KEY_NUM > 0
	75, 75, 75,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Lmt_FW_Diff_N[40 * 40] = {
	-50, -65535, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
	-50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50, -50,
#if TOUCH_KEY_NUM > 0
	-75, -75, -75,
#endif /* #if TOUCH_KEY_NUM > 0 */
};

static int32_t PS_Config_Diff_Test_Frame = 50;

#endif /* #if NVT_TOUCH_MP */
